import req from "../utils/request";

// 获取用户歌单
export const getUserInfo = (uid) => {
  return req({
    method: "POST",
    url: "/user/playlist",
    params: {
      uid,
    },
  });
};

// 获取歌单详情
export const getListDetail = (id) => {
  return req({
    method: "POST",
    url: "/playlist/detail",
    params: {
      id,
    },
  });
};

// 获取歌曲详情
export const getSongDetail = (ids)=>{
  return req({
    method:'POST',
    url:'/song/detail',
    params:{
      ids
    }
  })
}
